Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
interface Newtonsoft.​Json.​IArrayPool<​T>
Assembly: Newtonsoft.Json
Provides an interface for using pooled arrays.
Methods
T[]
Rent​(int minimumLength)
Rent an array from the pool. This array must be returned when it is no longer needed.
Returns The rented array from the pool. This array must be returned when it is no longer needed.
minimumLength
The minimum required length of the array. The returned array may be longer.
void
Return​(T[] array)
Return an array to the pool.
array
The array that is being returned.